<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link href="__PUBLIC__/Css/manager.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#addBtn").click(function(){
                window.location.href="__APP__/User/add";
            });
			$('table tr').hover(function(){
				$(this).addClass('hover');
			},function(){
				$(this).removeClass('hover');
			});
        })
    </script>
    <title>用户列表</title>
</head>
<body>
<div>
    <h2>信息类型列表 </h2>
    <table style="width: 100%" border="0" cellspacing="0">
        <tr class="title">
            <th>id</th>
            <th>用户名</th>
            <th>昵称</th>
            <th>头像</th>
            <th>E-Mail</th>
            <th>创建时间</th>
            <th>最后登录时间</th>
            <th>最后登录IP</th>
            <th>激活状态</th>
            <th>操作</th>
        </tr>
        <volist name="userList" id="user">
            <tr align="left">
                <td>{$user["id"]}</td>
                <td>{$user["username"]}</td>
                <td>{$user["nickname"]}</td>
                <td><img src="__PUBLIC__/Uploads/faceimg/s_{$user['faceimg']}" alt="头像"></td>
                <td>{$user["email"]}</td>
                <td>{$user["createtime"]|date="Y-m-d H:i:s",###}</td>
                <td>{$user["last_login_time"]|date="Y-m-d H:i:s",###}</td>
                <td>{$user["last_login_ip"]}</td>
                <td>
                    <if condition="$user['status'] eq 1">
                        活动状态
                        <elseif condition="$user['status'] eq 0"/>
                        冻结状态
                    </if>
                </td>
                <td>
                    <a href="__APP__/User/edit/id/{$user['id']}">编辑</a><br>
                    <a href="__APP__/User/delete/id/{$user['id']}">删除</a>
                </td>
            </tr>
        </volist>

    </table>
    <input type="button" id="addBtn" value="新增用户">
    <br>
    <br>
    <div align="right">{$page}</div>
</div>


</body>
</html>